#coding=utf-8
import mysql.connector
import config
class Mysql():
	version='5.5'
	def __init__(self):
		try:
			self._conn = mysql.connector.connect(**config.MySqlConnString)
		except Exception, e:
			print e	
	def queryRow(self,sql):
		pass

	def queryAll(self,sql):
		pass

	def _execute(self,sql):
		pass

	def insert(self,data):
		pass

	def update(self,data,condition):
		pass

	def delete(self,confition):
		pass